const express = require('express')
const router = express.Router()


const anthorArt_handler = require('../router_handler/anthor_art')

router.get('/anthor_art',anthorArt_handler.anthor_art)

router.post('/addAnthor_art',anthorArt_handler.addAnthor_art)

router.post('/addAnthor_message',anthorArt_handler.addAnthor_message)

router.get('/getAnthor_message',anthorArt_handler.getAnthor_message)

router.get('/replied_message',anthorArt_handler.replied_message)

router.get('/delmessage/:id',anthorArt_handler.delmessage)

router.get('/checkEmail/:userEmail',anthorArt_handler.checkEmail)

router.post('/replied',anthorArt_handler.replied)

router.get('/personTarget',anthorArt_handler.personTarget)

router.get('/domyTargets',anthorArt_handler.domyTargets)

router.post('/addTarget',anthorArt_handler.addTarget)

router.post('/updateTarget/:targets',anthorArt_handler.updateTarget)

module.exports = router